package com.jic.order.request;

import com.jic.common.base.vo.BaseEntityRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@ApiModel(description = " 销售订单明细表实体类")
public class OrderSaleRequest extends BaseEntityRequest {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(notes = "主键ID")
	private Long id;

	@ApiModelProperty(notes = "订单父编号")
	private String parentOrderNo;

	@ApiModelProperty(notes = "订单编号")
	private String orderNo;

	@ApiModelProperty(notes = "订单状态，初始化、确认收货、已完成、已关闭")
	private Integer orderStatus;

	@ApiModelProperty(notes = "商品类型 1代表无仓 2代表普通")
	private Integer productType;

	@ApiModelProperty(notes = "商户ID")
	private Long merchantId;

	@ApiModelProperty(notes = "商户名称")
	private String merchantName;

	@ApiModelProperty(notes = "店铺ID")
	private Long storeId;

	@ApiModelProperty(notes = "店铺名称")
	private String storeName;

	@ApiModelProperty(notes = "品牌名称")
	private String brandName;

	@ApiModelProperty(notes = "商品id")
	private Long productId;

	@ApiModelProperty(notes = "商品名称")
	private String productName;

	@ApiModelProperty(notes = "商品编码")
	private String productCode;

	@ApiModelProperty(notes = "销售单价")
	private BigDecimal saleUnitPrice;

	@ApiModelProperty(notes = "销售总价")
	private BigDecimal salePrice;

	@ApiModelProperty(notes = "商品购买总金额")
	private BigDecimal buyTotalAmount;

	@ApiModelProperty(notes = "商品数量")
	private Integer productNum;

	@ApiModelProperty(notes = "商品规格")
	private String productProperty;

	@ApiModelProperty(notes = "供应商id")
	private Long supplierId;

	@ApiModelProperty(notes = "供应商名称")
	private String supplierName;

	@ApiModelProperty(notes = "计量单位")
	private String productUnit;

	@ApiModelProperty(notes = "交易币别")
	private String transactionCurrency;

	// @NotEmpty(message = "商品规格")
	@ApiModelProperty(notes = "商品类目")
	private String productCategory;

}
